package com.qsmx.store.app.main.suit;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.View;

import com.qsmx.store.app.R;
import com.qsmx.store.app.R2;
import com.qsmx.store.app.main.home.HomeDelegate;
import com.qsmx.store.core.delegates.AtmosDelegate;

import butterknife.OnClick;

public class SuitBackSuitDelegate extends AtmosDelegate {

    @OnClick(R2.id.iv_back)
    void onBack() {
        getSupportDelegate().pop();
    }

    @OnClick(R2.id.iv_home)
    void onHome() {
        getSupportDelegate().popTo(HomeDelegate.class, false);
    }


    @Override
    public Object setLayout() {
        return R.layout.delegate_suit_back_old;
    }

    @Override
    public void onBindView(@Nullable Bundle savedInstanceState, View rootView) {

    }
}
